export default {
  /**
   * 判空
   * @param date
   * @returns boolean
   */
  isNull: function(date) {
    return date === undefined || date === null || date.length <= 0 || JSON.stringify(date) === '{}'
  }
}
